package com.stottlerhenke.simbionic.common.parser;

import com.stottlerhenke.simbionic.common.Enum;


public class EBinaryOp extends Enum {
  private EBinaryOp(int state) {super(state);}

  public static final EBinaryOp kAddOp = new EBinaryOp(0);
  public static final EBinaryOp kSubOp = new EBinaryOp(1);
  public static final EBinaryOp kMultOp = new EBinaryOp(2);
  public static final EBinaryOp kDivOp = new EBinaryOp(3);
  public static final EBinaryOp kModOp = new EBinaryOp(4);
  public static final EBinaryOp kExpOp = new EBinaryOp(5);
  public static final EBinaryOp kLssOp = new EBinaryOp(6);
  public static final EBinaryOp kLeqOp = new EBinaryOp(7);
  public static final EBinaryOp kEqlOp = new EBinaryOp(8);
  public static final EBinaryOp kNeqOp = new EBinaryOp(9);
  public static final EBinaryOp kGeqOp = new EBinaryOp(10);
  public static final EBinaryOp kGrtOp = new EBinaryOp(11);
  public static final EBinaryOp kAndOp = new EBinaryOp(12);
  public static final EBinaryOp kOrOp = new EBinaryOp(13);
  public static final EBinaryOp kDotOp = new EBinaryOp(14);

  public String toString()
  {
      switch (state)
      {
      case 0 : return new String("+");
      case 1 : return new String("-");
      case 2 : return new String("*");
      case 3 : return new String("/");
      case 4 : return new String("%");
      case 5 : return new String("^");
      case 6 : return new String("<");
      case 7 : return new String("<=");
      case 8 : return new String("==");
      case 9 : return new String("!=");
      case 10 : return new String(">=");
      case 11 : return new String(">");
      case 12 : return new String("&&");
      case 13 : return new String("||");
      case 14 : return new String(".");
      default: return new String("<UNKNOWN OP>");
      }
  }

}